package day22;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.Socket;

public class TcpClient {
	public static void main(String[] args) throws Exception {
		Socket s = new Socket("10.3.1.79", 10222);
		BufferedReader br = new BufferedReader(new InputStreamReader(s
				.getInputStream()));
		System.out.println(br.readLine());
		s.close();
	}
}
